package com.csi.bumblebee.service;

import com.csi.bumblebee.domain.dictionary.MyLocation;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author wdl
 */
@Transactional(rollbackFor = Exception.class)
@Service
public interface MyLocationService {

    //查询一级城市分类
    List<MyLocation> listLocationOne();

    //查询二级城市分类
    List<MyLocation> listLocationTwo();

    //查询一级城市分类下的二级城区分类
    List<MyLocation> listLocationSon(String id);

    /**
     * 查询全部地理位置
     * @return MyLocation集合
     */
    List<MyLocation> listLocationTree();



}
